package cn.lg.soar.system.biz.modules.monitor.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * @author luguoxiang
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@Getter
@Setter
public class OperationLogVO {

    private Long id;

    @ApiModelProperty("租户id")
    private Integer tenantId;

    @ApiModelProperty("用户类型")
    private Integer userType;

    @ApiModelProperty("操作者（谁）")
    private Long userId;

    @ApiModelProperty("昵称")
    private String nickname;

    @ApiModelProperty("终端类型")
    private Integer clientType;

    @ApiModelProperty("执行开始时间（何时）")
    private LocalDateTime datetime;

    @ApiModelProperty("操作（做了什么）")
    private String operate;

    @ApiModelProperty("哪个接口")
    private String path;

    @ApiModelProperty("操作者ip（何地）")
    private String userIp;

    @ApiModelProperty("用户系统")
    private String system;

    @ApiModelProperty("用户浏览器")
    private String browser;

    @ApiModelProperty("详情（数据）")
    private Object data;

    @ApiModelProperty("数据类型")
    private String dataType;

    @ApiModelProperty("数据id")
    private String dataId;

}
